namespace WeifenLuo.WinFormsUI.Docking
{
    using System.Resources;

    internal static class ResourceHelper
    {
        #region Fields

        private static ResourceManager _resourceManager = null;

        #endregion Fields

        #region Properties

        private static ResourceManager ResourceManager
        {
            get
            {
                if (_resourceManager == null)
                    _resourceManager = new ResourceManager("WeifenLuo.WinFormsUI.Docking.Strings", typeof(ResourceHelper).Assembly);
                return _resourceManager;
            }
        }

        #endregion Properties

        #region Methods

        public static string GetString(string name)
        {
            return ResourceManager.GetString(name);
        }

        #endregion Methods
    }
}